@import url(./overallsituation.css);
html, body {
    overflow: hidden; /* 禁用滚动条 */
}
.login_container{
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;

}
.login-topbox{
    width: 100%;
    height: 8%;
    background-color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    border: #ccc 1px solid;
    
}
.login-mainbox{
    width: 100%;
    height: 82%;
    display: flex;
   flex-direction: row;
   justify-content: center;
   align-items: center;
}
input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%; 
    max-width: 300px; 
    margin-bottom: 10px; 
}
.tool {
    padding: 5px;
    width: 70px;
    height: 40px;
    margin-left: 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: white;
    color:  #4CAF50; 
    border: #4CAF50 1px solid;
}
.tool.active {
    background-color: #4CAF50; 
    color: white; 
}
a{
    color: white;
    text-decoration: none;
    color: inherit;
}
a:hover{
    cursor: pointer;
}
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 400px;
    position: absolute;
    left: 60%;
}
.login-card {
    width: 100%;
    padding: 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
h2 {
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}
.input-group label {
    display: block;
    margin-bottom: 5px;
    color: #666;
}
.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s;
}
.input-group input:focus {
    border-color: #007BFF;
}
.btn {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    background: #007BFF;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}
.btn:hover {
    background: #0056b3;
}
.register-link {
    margin-top: 20px;
    text-align: center;
}
.register-link p {
    color: #666;
}
.register-link a {
    color: #007BFF;
    text-decoration: none;
}
.register-link a:hover {
    text-decoration: underline;
}
.login-tips{
    display: flex;
    flex-direction: row;
}
h2{
    margin-right: 15px;
}
.tab {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.tab-button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px 5px 0 0;
    background-color: #f0f0f0;
    cursor: pointer;
    margin: 0 5px;
}
.tab-button.active {
    background-color: white; 
    border-bottom: 2px solid #4CAF50; 
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block; 
}
.get-code-btn {
    padding: 10px;
    margin-left: 10px; 
    border: none;
    border-radius: 5px;
    background-color: #007BFF; 
    color: white;
    cursor: pointer;
}
.get-code-btn:hover {
    background-color: #0056b3;
}
.code-input-container {
    display: flex; 
    align-items: center; 
}
.code-input-container input {
    margin-right: 10px; 
}
.code-input-container .get-code-btn {
    flex: 0 0 auto; 
    position: relative;
    top: -5px;
}
.panel {
    display: none; 
}
.panel.active {
    display: block; 
}
